import {StepComponentProperty} from "../step/step.component";
import { WorkOrderType, WorkOrderStatus } from "../../models/transform/work-order";
import { StepPathComponent, StepPathComponentProperty } from "../step-path/step-path.component";

/**
 * Created by enroll on 2018/6/26.
 */
export class PowerCutPathData {
  static get data() {
    return [
      {
        name: "alreadyPowerCut",
        status: WorkOrderStatus.EXECUTED,
        type: WorkOrderType.POWERCUT,
        description: '已停电',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "停电信息记录",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      },
      {
        name: "auditPowerCut",
        status: WorkOrderStatus.APPROVED,
        type: WorkOrderType.POWERCUT,
        description: '待停电',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })

      },
      {
        name: "auditPowerCut",
        status: WorkOrderStatus.APPROVED,
        type: WorkOrderType.POWERCUT,
        description: '绿色通道审核通过',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      },
      {
        name: "rejectPowerCut",
        status: WorkOrderStatus.REJECTED,
        type: WorkOrderType.POWERCUT,
        description: '审核不通过',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      },
      {
        name: "toBeApproved",
        status: WorkOrderStatus.TO_BE_APPROVED,
        type: WorkOrderType.POWERCUT,
        description: '待审核停电申请',
        month: "",
        time: "",
        frequency: null,
        totalFee: null,
        attachment: "停电申请信息",
        stepProp: new StepPathComponentProperty({
          cssClass: "defaultStep"
        })
      }

    ];
  }
}

